import json
import os
os.environ["LANG"] = "en_US.UTF-8"
from flask import Flask, request, render_template
import flask_utils
from wsgiref.simple_server import make_server

app = Flask(__name__)


@app.route('/', methods=['GET'])
def index():
    flask_utils.main()


if __name__ == "__main__":
    server = make_server('127.0.0.1', 5000, app)
    server.serve_forever()
    app.run()
